home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / acadwin / support / rendcomm.dcl < prev    next >
Encoding:
Text File  |  1995-02-08  |  61.6 KB  |  2,257 lines

  1. // Next available MSG number is   392 
  2. // MODULE_ID RENDCOMM_DCL_
  3.  
  4. //     Copyright (C) 1991, 1992, 1993, 1994 by Autodesk, Inc.
  5. //
  6. //     Permission to use, copy, modify, and distribute this software
  7. //     for any purpose and without fee is hereby granted, provided
  8. //     that the above copyright notice appears in all copies and
  9. //     that both that copyright notice and the limited warranty and
  10. //     restricted rights notice below appear in all supporting
  11. //     documentation.
  12. //
  13. //     AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
  14. //     AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
  15. //     MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
  16. //     DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
  17. //     UNINTERRUPTED OR ERROR FREE.
  18. //
  19. //     Use, duplication, or disclosure by the U.S. Government is subject to
  20. //     restrictions set forth in FAR 52.227-19 (Commercial Computer
  21. //     Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
  22. //     (Rights in Technical Data and Computer Software), as applicable.
  23. //
  24. //.
  25.  
  26. //****************************************************************************
  27. //
  28. // Common Render Dialogue Control Language (DCL) -- Version 1.0
  29. //
  30. //****************************************************************************
  31.  
  32. //***************************************************************************
  33. // Support dialog box code
  34.  
  35. var_text : text_part { label = ""; }
  36.  
  37. //***************************************************************************
  38. // Information dialog box
  39.  
  40. pref_info : dialog {
  41.     label = "Informaci≤n Render";
  42.  
  43.     : text_part {
  44.         alignment = centered;
  45.         label = "Render de AutoCAD";
  46.     }
  47.     : var_text {
  48.         alignment = centered;
  49.         key = /*MSG0*/"prodname";
  50.     }
  51.     : var_text {
  52.         alignment = centered;
  53.         key = /*MSG0*/"cyears";
  54.     }
  55.     : text_part {
  56.         alignment = centered;
  57.         label = "por Autodesk, Inc. Reservados todos los derechos.";
  58.     }
  59.     : var_text {
  60.         alignment = centered;
  61.         key = /*MSG0*/"release";
  62.     }
  63.     spacer_1;
  64.     : text_part {
  65.         alignment = left;
  66.         label = "Configuraci≤n actual:";
  67.     }
  68.     : concatenation {
  69.         : text_part {label = "Modelizado: "; }
  70.         : var_text {
  71.             key = /*MSG0*/"rendering";
  72.             width = 60;
  73.         }
  74.     }
  75.     : concatenation {
  76.         : text_part { label = "           "; }
  77.         : var_text {
  78.             key = /*MSG0*/"rendname";
  79.             width = 60;
  80.         }
  81.     }
  82.     : concatenation {
  83.         : text_part { label = "Salida impresa: "; }
  84.         : var_text {
  85.             key = /*MSG0*/"hardcopy";
  86.             width = 60;
  87.         }
  88.     }
  89.     : concatenation {
  90.         : text_part { label = /*MSG0*/"           "; }
  91.         : var_text {
  92.             key = /*MSG0*/"hardname";
  93.             width = 60;
  94.         }
  95.     }
  96.     : list_box { 
  97.         key = /*MSG0*/"extras";
  98.         height = 5;
  99.         width = 60;
  100.         multiple_select = false;
  101.         allow_accept = false;
  102.     }
  103.     spacer_1_ok_only;
  104. }
  105.  
  106. //****************************************************************************
  107. // For showing real numbers.
  108.  
  109. text_part_12 : text_part { width = 12; }
  110.  
  111. //****************************************************************************
  112. // Standard size list_box
  113.  
  114. list_box_8x8 : list_box {
  115.     height = 8;          // (10x10) width includes scrollbar.
  116. }
  117.  
  118. //****************************************************************************
  119. // For File name, where max filename = 100.
  120.  
  121. edit_box_100 : edit_box {
  122.     edit_width = 14;
  123.     edit_limit = 100;
  124. }
  125.  
  126. //****************************************************************************
  127. // For Directory paths , where max pathname = 256.
  128.  
  129. edit_box_256 : edit_box {
  130.     edit_width = 14;
  131.     edit_limit = 256;
  132. }
  133.  
  134. //****************************************************************************
  135. // For File names and the like.
  136.  
  137. edit_box_14 : edit_box {
  138.     edit_width = 14;
  139.     edit_limit = 14;
  140. }
  141.  
  142. //****************************************************************************
  143. // For names that are <= 8 characters long.
  144.  
  145. edit_box_8 : edit_box {
  146. //  edit_width = 8;
  147.     edit_width = 15;  // used since Windows has variable width fonts and
  148.                       // proteus uses the wrong width
  149.     edit_limit = 8;
  150. }
  151.  
  152. //****************************************************************************
  153. // For names that are <= 16 characters long.
  154.  
  155. edit_box_16 : edit_box {
  156.     edit_width = 16;
  157.     edit_limit = 16;
  158. }
  159.  
  160. //****************************************************************************
  161. // For real numbers 0.00->1.00.
  162.  
  163. edit_box_4 : edit_box {
  164.     edit_width = 4;
  165.     edit_limit = 4;
  166. }
  167.  
  168. //****************************************************************************
  169. // For real numbers 0.000->1.000 (or nE-mm)
  170.  
  171. edit_box_6 : edit_box {
  172.     edit_width = 6;
  173.     edit_limit = 6;
  174. }
  175.  
  176. //****************************************************************************
  177. // For real numbers 0.00->1.00.
  178.  
  179. slider_0_1 : slider {
  180.     min_value = 0;
  181.     max_value = 100;
  182.     small_increment = 1;
  183.     big_increment = 10;
  184.     is_tab_stop = false;        //  We have edit_boxes for all
  185. }
  186.  
  187. //****************************************************************************
  188. // Fixed slider for real numbers 0.00->1.00.
  189.  
  190. slider_0_1_fixed : slider {
  191.     min_value = 0;
  192.     max_value = 100;
  193.     width = 16;
  194.     fixed_width = true;
  195.     alignment = centered;
  196.     small_increment = 1;
  197.     big_increment = 10;
  198.     is_tab_stop = false;        //  We have edit_boxes for all
  199. }
  200.  
  201. //****************************************************************************
  202. //  Spacer tiles
  203.  
  204. spacer_0_1: spacer {
  205.     height = 0.1;
  206. }
  207.  
  208. spacer_0_25: spacer {
  209.     height = 0.25;
  210. }
  211.  
  212. spacer_0_5: spacer {
  213.     height = 0.5;
  214. }
  215.  
  216. spacer_1_25 : spacer {
  217.     height = 1.25;
  218. }
  219.  
  220. spacer_1_5 : spacer {
  221.     height = 1.5;
  222. }
  223.  
  224. //****************************************************************************
  225. //  Dialogs with Cancel as the default.
  226.  
  227. cancel_ok_48 : dialog {
  228.     width = 48;
  229.     key = /*MSG0*/"dialog";
  230.     initial_focus = /*MSG0*/"cancel"; // Doesn't work allways
  231.     children_alignment = centered;
  232.     spacer_1;
  233.     : var_text { key = /*MSG0*/"line1"; }
  234.     : var_text { key = /*MSG0*/"line2"; }
  235.     cancel_ok;                          // Makes "Cancel" the default.
  236. }
  237.  
  238. cancel_ok_32 : dialog {
  239.     width = 32 ;
  240.     key = /*MSG0*/"dialog";
  241.     initial_focus = /*MSG0*/"cancel"; // Doesn't work allways
  242.     children_alignment = centered;
  243.     spacer_1;
  244.     : var_text { key = /*MSG0*/"line1"; }
  245.     : var_text { key = /*MSG0*/"line2"; }
  246.     cancel_ok;                          // Makes "Cancel" the default.
  247. }
  248.  
  249. cancel_ok : column {        // Makes "Cancel" the default.
  250.     spacer_1;
  251.     : row {
  252.         fixed_width = true;
  253.         alignment = centered;
  254.         : ok_button { is_default = false; }
  255.         : spacer { width = 2; }
  256.         : cancel_button { is_default = true; }
  257.     }
  258. }
  259.  
  260.  
  261. //****************************************************************************
  262. //  Generic botton-line button combinations
  263.  
  264. spacer_0_1_ok_cancel_help_errtile : column {
  265.     spacer_0_1;
  266.     ok_cancel_help_errtile;
  267. }
  268.  
  269. spacer_1_ok_cancel_help_errtile : column {
  270.     spacer_1;
  271.     ok_cancel_help_errtile;
  272. }
  273.  
  274. spacer_1_ok_cancel_help : column {
  275.     spacer_1;
  276.     ok_cancel_help;
  277. }
  278.  
  279. spacer_1_ok_help : column {
  280.     spacer_1;
  281.     : row {
  282.         fixed_width = true;
  283.         alignment = centered;
  284.         : ok_button { is_cancel = true; }
  285.         : spacer { width = 2; }
  286.         help_button;
  287.     }
  288. }
  289.  
  290. spacer_1_ok_only : column {
  291.     spacer_1;
  292.     ok_only;
  293. }
  294.  
  295.  
  296. //****************************************************************************
  297. // Define common widgets
  298.  
  299. button_new : button {
  300.     key = /*MSG0*/"new";
  301.     label = "Nuevo...   ";
  302.     mnemonic = "N";
  303. }
  304.  
  305. button_mod : button {
  306.     key = /*MSG0*/"modify";
  307.     label = "Modificar...";
  308.     mnemonic = "M";
  309.     is_enabled = false;     // Enable when Items are selected.
  310. }
  311.  
  312. button_dup : button {
  313.     key = /*MSG0*/"duplicate";
  314.     label = "Duplicar...";
  315.     mnemonic = "p";
  316.     is_enabled = false;     // Enable when Items are selected.
  317. }
  318.  
  319. button_del : button {
  320.     key = /*MSG0*/"delete";
  321.     label = "Borrar   ";
  322.     mnemonic = "B";
  323.     is_enabled = false;     // Enable when Items are selected.
  324. }
  325.  
  326. button_imp : button {
  327.     key = /*MSG0*/"import";
  328.     label = "Biblioteca de materiales...";
  329.     mnemonic = "i";
  330. }
  331.  
  332. button_exp : button {
  333.     key = /*MSG0*/"export";
  334.     label = "Exportar   ";
  335.     mnemonic = "x";
  336. }
  337.  
  338. button_pkt : button {
  339.     key = /*MSG0*/"pickit";
  340.     label = "Designar <   ";
  341.     mnemonic = "D";
  342. }
  343.  
  344. /******************************************************************************/
  345. /*********************** GENERIC COLORSYSTEM SLIDER SET ***********************/
  346. /******************************************************************************/
  347. color_system_set : row {
  348.     key = /*MSG0*/"color_system_set";
  349.     : column {
  350.         : text {
  351.             key = /*MSG0*/"Red_txt";
  352.             label = "Tonalidad:";
  353.         }
  354.         : text {
  355.             key = /*MSG0*/"Green_txt";
  356.             label = "Luminosidad:";
  357.         }
  358.         : text {
  359.             key = /*MSG0*/"Blue_txt";
  360.             label = "Saturaci≤n:";
  361.         }
  362.     }
  363.     : column {
  364.         : edit_box_4 {
  365.             key = /*MSG0*/"red_edit";
  366.         }
  367.         : edit_box_4 {
  368.             key = /*MSG0*/"green_edit";
  369.         }
  370.         : edit_box_4 {
  371.             key = /*MSG0*/"blue_edit";
  372.         }
  373.     }
  374.     : column {
  375.         : slider_0_1_fixed { key = /*MSG0*/"red_slider"; }
  376.         : slider_0_1_fixed { key = /*MSG0*/"green_slider"; }
  377.         : slider_0_1_fixed { key = /*MSG0*/"blue_slider"; }
  378.     }
  379. }
  380.  
  381.  
  382. //****************************************************************************
  383. // Black Cat dialog boxes
  384. //****************************************************************************
  385. //3DS input
  386. object_list : list_box
  387. {
  388.     label   = "Nombre objeto:          Tipo:";
  389.     tabs    = /*MSG0*/"18";
  390.     height  = 7;
  391.     width   = 28;
  392.     multiple_select = true;
  393. }
  394.  
  395.  
  396. //****************************************************************************
  397. //
  398. //****************************************************************************
  399. // this is a clone of ok_cancel_help, without a default button
  400. okNoDef_cancel_help : column 
  401. {
  402.     : row 
  403.     {
  404.         fixed_width = true;
  405.         alignment = centered;
  406.         : ok_button 
  407.         {
  408.             is_default      = false;
  409.         }
  410.         : spacer { width = 2; }
  411.         cancel_button;
  412.         : spacer { width = 2; }
  413.         help_button;
  414.     }
  415. }
  416. //****************************************************************************
  417. //
  418. //****************************************************************************
  419. // 
  420. bc3dsin : dialog
  421. {
  422.     label   = "Opciones para importar archivos 3D Studio";
  423.  
  424.     : column {
  425.         : row {
  426.             : column {
  427.                 : boxed_column {
  428.                     label           = "Objetos disponibles";
  429.                     : object_list {
  430.                         key     = /*MSG0*/"available";
  431.                     }
  432.                     : row {
  433.                         children_fixed_width    = true;
  434.  
  435.                         spacer_1;
  436.                         : button {
  437.                             key     = /*MSG0*/"selall";
  438.                             label   = "A±adir todo";
  439.                             mnemonic = "A";
  440.                             is_default = true;
  441.                         }
  442.                         : button {
  443.                             key     = /*MSG0*/"select";
  444.                             label   = "A±adir";
  445.                             mnemonic = "±";
  446.                         }
  447.                         spacer_1;
  448.                     }
  449.                 }
  450.                 spacer_1;
  451.                 : boxed_radio_column
  452.                 {
  453.                     label           = "Guardar en capas:";
  454.                     : radio_button
  455.                     {
  456.                         key     = /*MSG0*/"byobject";
  457.                         label   = "Por objeto";
  458.                         mnemonic = "o";
  459.                     }
  460.                     : radio_button
  461.                     {
  462.                         key     = /*MSG0*/"bymaterial";
  463.                         label   = "Por material";
  464.                         mnemonic = "m";
  465.                     }
  466.                     : radio_button
  467.                     {
  468.                         key     = /*MSG0*/"bycolor";
  469.                         label   = "Por color de objeto";
  470.                         mnemonic = "P";
  471.                     }
  472.                     : radio_button
  473.                     {
  474.                         key     = /*MSG0*/"onelayer";
  475.                         label   = "Capa ·nica";
  476.                         mnemonic = "C";
  477.                     }
  478.                 }
  479.             }
  480.             spacer_1;
  481.             : column
  482.             {
  483.                 : boxed_column {       
  484.                     label           = "Designar objetos";
  485.                     : object_list {
  486.                         key     = /*MSG0*/"selected";
  487.                     }
  488.                     : row
  489.                     {
  490.                         children_fixed_width    = true;
  491.                 
  492.                         spacer_1;
  493.                         : button
  494.                         {
  495.                             key     = /*MSG0*/"remove";
  496.                             label   = "Suprimir";
  497.                             mnemonic = "S";
  498.                         }
  499.                         : button
  500.                         {
  501.                             key     = /*MSG0*/"rmvall";
  502.                             label   = "Suprimir todo";
  503.                             mnemonic = "t";
  504.                         }
  505.                         spacer_1;
  506.                     }
  507.                 }
  508.                 spacer_1;
  509.                 : boxed_radio_column
  510.                 {
  511.                     label           = "Objetos de m·ltiples materiales:";
  512.                     : radio_button
  513.                     {
  514.                         key     = /*MSG0*/"prompt";
  515.                         label   = "Mensaje permanente";
  516.                         mnemonic = "e";
  517.                     }
  518.                     : radio_button
  519.                     {
  520.                         key     = /*MSG0*/"break";
  521.                         label   = "Dividir por materiales";
  522.                         mnemonic = "D";
  523.                     }
  524.                     : radio_button
  525.                     {
  526.                         key     = /*MSG0*/"first";
  527.                         label   = "Asignar primer material";
  528.                         mnemonic = "i";
  529.                     }
  530.                     : radio_button
  531.                     {
  532.                         key     = /*MSG0*/"none";
  533.                         label   = "No asignar ning·n material";
  534.                         mnemonic = "N";
  535.                     }
  536.                 }
  537.             }
  538.         }
  539.         spacer_1;
  540.         okNoDef_cancel_help;
  541.     }
  542. }
  543.  
  544.  
  545. //****************************************************************************
  546. //
  547. //****************************************************************************
  548. bcmatls : dialog
  549. {
  550.     label   = "Advertencia para la asignaci≤n de materiales";
  551.     
  552.     : text {
  553.         key     = /*MSG0*/"objname";
  554.         width   = 50; /* "Object1234567890 has multiple materials assigned" */
  555.     }
  556.     : boxed_column {
  557.         label                   = "";
  558.         children_alignment      = centered;
  559.         children_fixed_width    = true;
  560.  
  561.         : radio_column {
  562.             : radio_button {
  563.                 key     = /*MSG0*/"breakapart";
  564.                 label   = "Dividir objeto por material";
  565.                 mnemonic = "D";
  566.             }
  567.             : radio_button {
  568.                 key     = /*MSG0*/"applyfirst";
  569.                 label   = "Asignar primer material";
  570.                 mnemonic = "A";
  571.             }
  572.             : radio_button {
  573.                 key     = /*MSG0*/"applyone";
  574.                 label   = "Designar un material:";
  575.                 mnemonic = "s";
  576.             }
  577.         }
  578.         : row {
  579.             : popup_list {
  580.                 key     = /*MSG0*/"materials";
  581.                 value   = "0";
  582.                 edit_width  = 25;
  583.             }
  584.         }
  585.     }
  586.     spacer_1;
  587.     ok_cancel_help;
  588. }
  589.  
  590.  
  591. //****************************************************************************
  592. //
  593. //****************************************************************************
  594. // this is a clone of ok_cancel_help 
  595. rename_cancel_replace : column 
  596. {
  597.     : row 
  598.     {
  599.         fixed_width = true;
  600.         alignment = centered;
  601.         : retirement_button 
  602.         {
  603.             label           = " Cambiar de nombre ";
  604.             key             = /*MSG0*/"rename";
  605.             is_default      = true;
  606.         }
  607.         : spacer { width = 2; }
  608.         cancel_button;
  609.         : spacer { width = 2; }
  610.         : retirement_button 
  611.         {
  612.             label           = " Reemplazar ";
  613.             key             = /*MSG0*/"replace";
  614.             mnemonic        = "R";
  615.         }
  616.     }
  617. }
  618.  
  619.  
  620. //****************************************************************************
  621. //
  622. //****************************************************************************
  623. bcrenmat : dialog
  624. {
  625.     label   = "Mordred Message";
  626.  
  627.     : text 
  628.     {
  629.         key     = /*MSG0*/"prompt";
  630.         width   = 40;
  631.     }
  632.     : text 
  633.     {
  634.         label = "Do you want to replace it?";
  635.     }
  636.     spacer_1;
  637.     rename_cancel_replace;
  638. }
  639.  
  640. //****************************************************************************
  641. // 3DS Output
  642. //****************************************************************************
  643. outOptions : dialog
  644. {
  645.   label = "Opciones para exportar archivos 3D Studio";
  646.  
  647.   :boxed_radio_column
  648.   {
  649.     label = "Proviene de objetos 3D Studio";
  650.     key = /*MSG0*/"method";
  651.     :radio_button
  652.     {
  653.       label = "Capa";
  654.       key = /*MSG0*/"methLay";
  655.       mnemonic = "C";
  656.     }
  657.     :radio_button
  658.     {
  659.       label = "Indice de colores de AutoCAD (ACI)";
  660.       key = /*MSG0*/"methCol";
  661.       mnemonic = "I";
  662.     }
  663.     :radio_button
  664.     {
  665.       label = "Tipo de objeto AutoCAD";
  666.       key = /*MSG0*/"methType";
  667.       mnemonic = "T";
  668.     }
  669.   }
  670.   :boxed_row
  671.   {
  672.     label = "Bloques de AutoCAD";
  673.     :toggle
  674.     {
  675.       label = "Ignorar (Cada bloque es un objeto)";
  676.       key = /*MSG0*/"mode";
  677.       mnemonic = "g";
  678.     }
  679.   }
  680.   :boxed_row
  681.   {
  682.     height = 2;
  683.     label = "Suavidad";
  684.     :toggle
  685.     {
  686.       label = "Suavizado automßtico";
  687.       key = /*MSG0*/"sEn";
  688.       mnemonic = "S";
  689.     }
  690.     :edit_box
  691.     {
  692.       label = /*MSG0*/" ";
  693.       key = /*MSG0*/"smooth";
  694.       edit_width = 3;
  695.       edit_limit = 3;
  696.       allow_accept = true;
  697.     }
  698.     :text
  699.     {
  700.       label = "Grados";
  701.       key = /*MSG0*/"sText";
  702.     }
  703.   }
  704.   :boxed_row
  705.   {
  706.     height = 2;
  707.     label = "Soldadura";
  708.     :toggle
  709.     {
  710.       label = "Soldado automßtico";
  711.       key = /*MSG0*/"wEn";
  712.       mnemonic = "a";
  713.     }
  714.     spacer_1;
  715.     :edit_box
  716.     {
  717.       key = /*MSG0*/"weld";
  718.       label = "U&mbral";
  719.       edit_width = 8;
  720.       edit_limit = 8;
  721.       allow_accept = true;
  722.     }
  723.     :text
  724.     {
  725.       label = " ";
  726.     }
  727.   }
  728.   spacer_1;
  729.   errtile;
  730.   ok_cancel_help;
  731. }
  732. //****************************************************************************
  733. // VL conversion
  734. //****************************************************************************
  735. presOptions : dialog
  736. {
  737.   label = "Conversi≤n de datos de Visual Link";
  738.   initial_focus = /*MSG0*/"overwt";
  739.   :toggle
  740.   {
  741.     key = /*MSG0*/"overwt";
  742.     mnemonic = "";
  743.     label = "Reescribir materiales AutoVision y asignaciones de mapeados";
  744.   }
  745.   spacer_1;
  746.   ok_cancel_help;
  747. }
  748.  
  749. //****************************************************************************
  750. // 
  751. //****************************************************************************
  752. warning : dialog
  753. {
  754.   label = "Error en la conversi≤n de Visual Link";
  755.   :text
  756.   {
  757.     label = "Algunas asignaciones de materiales";
  758.   }
  759.   :text
  760.   {
  761.     label = "Visual Link no se convirtieron debido a que";
  762.   }
  763.   :text
  764.   {
  765.     label = "no pudieron ser representadas en AutoVision.";
  766.   }
  767.   spacer_1;
  768.   ok_only;
  769. }
  770.  
  771. //****************************************************************************
  772. // RHEXPORT support
  773. //****************************************************************************
  774. rhexport : dialog
  775. {
  776.   label = "Configuraci≤n de salida de archivo";
  777.  
  778.   : row {
  779.       : column {
  780.           : boxed_column {
  781.               label = "Tipo de archivo";
  782.               : popup_list { 
  783.                   key = /*MSG0*/"f_types";
  784.                   // CHANGING THE ORDER OF THE LIST OR WHAT IS ON IT
  785.                   // REQUIRES A CHANGE IN dlg_rhex.c !!!!!
  786.                   list = "GIF\nX11\nPBM\nBMP\nTGA\nPCX\nSUN\nFITS\nPostScript\nTIFF\nFAX G III\nIFF";
  787.                   value = "4";
  788.               }
  789.               : popup_list { 
  790.                   key = /*MSG0*/"resol";
  791.                   // CHANGING THE ORDER OF THE LIST OR WHAT IS ON IT
  792.                   // REQUIRES A CHANGE IN dlg_rhex.c !!!!!
  793.                   // Just changing the strings is OK.
  794.                   width = 30;
  795. list = "320 x 200 (CGA/MCGA color)\n640 x 200 (CGA monocroma)\n640 x 350 (EGA)\n640 x 400\n640 x 480 (VGA)\n720 x 540\n800 x 600\n1024 x 768\n1152 x 900 (Sun normal.)\n1600 x 1280 (Sun alta res.)\n2048 x 1366\n2048 x 1536\n4096 x 2736\n4096 x 3072\nDef. por usuario";
  796.                   value = "4";
  797.               }
  798.               : row {
  799.                   : edit_box {
  800.                       label = "X:";
  801.                       key   = /*MSG0*/"RES_X";
  802.                       value = /*MSG0*/"640";
  803.                       mnemonic = "X";
  804.                       edit_limit = 5;
  805.                   }
  806.                   : edit_box {
  807.                       label = "Y:";
  808.                       key   = /*MSG0*/"RES_Y";
  809.                       value = /*MSG0*/"480";
  810.                       mnemonic = "Y";
  811.                       edit_limit = 5;
  812.                   }
  813.               }
  814.               : edit_box {
  815.                   label = "Rel. anchura/altura:";
  816.                   key   = /*MSG0*/"ASPECT";
  817.                   value = /*MSG0*/"1.0";
  818.                   mnemonic = "R";
  819.                   edit_limit = 5;
  820.               }
  821.           }
  822.           : boxed_radio_column {
  823.               label = "Colores";
  824.               key = /*MSG0*/"colortype";
  825.               : radio_button {
  826.                   key = /*MSG0*/"b_1";
  827.                   label = "Monocromo";
  828.                   mnemonic = "M";
  829.               }
  830.               : radio_button {
  831.                   key = /*MSG0*/"b_8";
  832.                   label = "8 Bits (256 tonos de gris)";
  833.                   mnemonic = "t";
  834.               }
  835.               : radio_button {
  836.                   key = /*MSG0*/"b_8c";
  837.                   label = "8 Bits (256 colores)";
  838.                   mnemonic = "c";
  839.               }
  840.               : radio_button {
  841.                   key = /*MSG0*/"b_16";
  842.                   label = "16 Bits";
  843.                   mnemonic = "B";
  844.               }
  845.               : radio_button {
  846.                   key = /*MSG0*/"b_24";
  847.                   label = "24 Bits";
  848.                   mnemonic = "B";
  849.                   value = "1";
  850.               }
  851.               : radio_button {
  852.                   key = /*MSG0*/"b_32";
  853.                   label = "32 Bits";
  854.                   mnemonic = "B";
  855.               }
  856.           }
  857.       }
  858.       : boxed_column {
  859.           label = "Opciones";
  860.           : row {
  861.               : column {
  862.                   : toggle {
  863.                       key = /*MSG0*/"compress";
  864.                       label = "Comprimido";
  865.                       value = /*MSG0*/"1";
  866.                       mnemonic = "C";
  867.                   }
  868.                   : toggle {
  869.                       key = /*MSG0*/"up_down";
  870.                       label = "Al revΘs";
  871.                       mnemonic = "A";
  872.                   }
  873.                   : toggle {
  874.                       key = /*MSG0*/"bit_rev";
  875.                       label = "Bit invertido";
  876.                       mnemonic = "i";
  877.                   }
  878.               }
  879.               : boxed_radio_column {
  880.                   label = "Entrelazar";
  881.                   key = /*MSG0*/"inter_a";
  882.                   : radio_button {
  883.                       key = /*MSG0*/"inter_1";
  884.                       label = "Ninguno";
  885.                       mnemonic = "N";
  886.                   }
  887.                   : radio_button {
  888.                       key = /*MSG0*/"inter_2";
  889.                       label = "2 a 1";
  890.                       mnemonic = "2";
  891.                   }
  892.                   : radio_button {
  893.                       key = /*MSG0*/"inter_4";
  894.                       label = "4 a 1";
  895.                       mnemonic = "4";
  896.                   }
  897.               }
  898.           }
  899.           : row {
  900.               : boxed_column {
  901.                   label = "Opciones PostScript";
  902.                   key   = /*MSG0*/"post_opts";
  903.                   : radio_row {
  904.                       key = /*MSG0*/"ps_port_land";
  905.                       : radio_button {
  906.                           key = /*MSG0*/"ps_land";
  907.                           label = "Horizontal";
  908.                           mnemonic = "H";
  909.                       }
  910.                       : radio_button {
  911.                           key = /*MSG0*/"ps_port";
  912.                           label = "Vertical";
  913.                           mnemonic = "V";
  914.                       }
  915.                   }
  916.                   : column {
  917.                       : radio_column {
  918.                           key = /*MSG0*/"ps_imgsize";
  919.                           : radio_button {
  920.                               key = /*MSG0*/"ps_auto";
  921.                               label = "Automßtico";
  922.                               mnemonic = "A";
  923.                           }
  924.                           : radio_button {
  925.                               key = /*MSG0*/"ps_img";
  926.                               label = "Tama±o de la imagen";
  927.                               mnemonic = "T";
  928.                           }
  929.                           : radio_button {
  930.                               key = /*MSG0*/"ps_cust";
  931.                               label = "Personalizada";
  932.                               mnemonic = "P";
  933.                           }
  934.                       }
  935.                       : edit_box {
  936.                           label = "Tama±o imagen";
  937.                           key   = /*MSG0*/"img_size";
  938.                           value = /*MSG0*/"640";
  939.                           mnemonic = "i";
  940.                           edit_limit = 5;
  941.                       }
  942.                   }
  943.               }
  944.               : boxed_column {
  945.                   label = "Opciones PBM";
  946.                   key = /*MSG0*/"pbm_options";
  947.                   : radio_column {
  948.                       key = /*MSG0*/"pbm_opt";
  949.                       : radio_button {
  950.                           key = /*MSG0*/"pbm";
  951.                           label = "PBM";
  952.                           mnemonic = "P";
  953.                       }
  954.                       : radio_button {
  955.                           key = /*MSG0*/"pgm";
  956.                           label = "PGM";
  957.                           mnemonic = "G";
  958.                       }
  959.                       : radio_button {
  960.                           key = /*MSG0*/"ppm";
  961.                           label = "PPM";
  962.                           mnemonic = "M";
  963.                       }
  964.                   }
  965.                   spacer_1;
  966.                   : radio_column {
  967.                       key = /*MSG0*/"ascii_bin";
  968.                       : radio_button {
  969.                           key = /*MSG0*/"ascii";
  970.                           label = "ASCII";
  971.                           mnemonic = "A";
  972.                       }
  973.                       : radio_button {
  974.                           key = /*MSG0*/"bin";
  975.                           label = "Binario";
  976.                           mnemonic = "B";
  977.                       }
  978.                   }
  979.               }
  980.           }
  981.       }
  982.   }
  983.  
  984.   ok_cancel_help_errtile;
  985. }
  986.  
  987.  
  988. //***************************************************************************
  989. //***************************************************************************
  990. //***************************************************************************
  991. //***************************************************************************
  992. // AutoCAD render options
  993.  
  994. other_options : column {
  995.     : toggle {
  996.         key = /*MSG0*/"discard_bf";
  997.         label = "Descartar caras traseras";
  998.         mnemonic = "D";
  999.     }
  1000.     : toggle {
  1001.         key = /*MSG0*/"neg_normal";
  1002.         label = "Normal a cara trasera negativa";
  1003.         mnemonic = "N";
  1004.     }
  1005. }
  1006.  
  1007. boxed_other_options : boxed_column {
  1008.     label = "Controles de la cara";
  1009.     other_options;
  1010. }
  1011.  
  1012. crender_options : dialog {
  1013.     label = "Opciones de Render de AutoCAD";
  1014.     : row {
  1015.         : boxed_radio_column {
  1016.             label = "Calidad Render";
  1017.             key = /*MSG0*/"pf_crend_qual";
  1018.             : radio_button {
  1019.                 key = /*MSG0*/"pf_crend_qual_10";
  1020.                 label = "Gouraud";
  1021.                 mnemonic = "G";
  1022.             }
  1023.             : radio_button {
  1024.                 key = /*MSG0*/"pf_crend_qual_20";
  1025.                 label = "Phong";
  1026.                 mnemonic = "P";
  1027.             }
  1028.         }
  1029.         spacer_1;
  1030.         : column {
  1031.             boxed_other_options;
  1032.         }
  1033.     }
  1034.     spacer_1_ok_cancel_help_errtile;
  1035. }
  1036.  
  1037. //******************************************************************************
  1038. //******************************************************************************
  1039. // Render and Preferences widgets
  1040.  
  1041. render_colormap : boxed_column {
  1042.     alignment = top;
  1043.     label = "Paleta de pantalla";
  1044.     : popup_list {
  1045.         key = /*MSG0*/"pf_ac";
  1046.         list = "Mapeado extendido\nMapeado simple\nMapeado ACAD fijo";
  1047.         mnemonic = "P";
  1048.     }
  1049. }
  1050.  
  1051. render_colormap2 : boxed_column {
  1052.     label = "Paleta de pantalla";
  1053.     : popup_list {
  1054.         key = /*MSG0*/"pf_ac";
  1055.         list = "Mapeado extendido\nMapeado simple\nMapeado ACAD fijo";
  1056.         mnemonic = "P";
  1057.     }
  1058. }
  1059.  
  1060. render_scene_list : list_box {
  1061.     width = 18;
  1062.     height = 5;
  1063.     key = /*MSG0*/"pf_scene";
  1064.     label = "Escena a modelizar";
  1065.     mnemonic = "E";
  1066. }
  1067.  
  1068.  
  1069. //****************************************************************************
  1070. // Color selection dialog box
  1071.  
  1072. ave_color : dialog {
  1073.     label = "Color";
  1074.     spacer_1;
  1075.     : row {
  1076.         spacer_1;
  1077.         description;
  1078.         spacer_1;
  1079.         : image_button {
  1080.             key = /*MSG0*/"color_wheel";
  1081.             height = 16;
  1082.             aspect_ratio = 1;
  1083.             color = -15;       /* dialog box background color = -15*/
  1084.             is_tab_stop = false;
  1085.         }
  1086.         : slider_0_1 {
  1087.             key = /*MSG0*/"lightness_slider";
  1088.             layout = vertical;
  1089.         }
  1090.         spacer_1;
  1091.     }
  1092.     spacer_1_ok_cancel_help_errtile;
  1093. }
  1094.  
  1095. ave_color_1 : dialog {
  1096.     label = "Color";
  1097.     spacer_1;
  1098.  
  1099.     : row {
  1100.         color_system;
  1101.     }
  1102.     spacer_1;
  1103.     components;
  1104.     spacer_1;
  1105.     aci;
  1106.  
  1107.     spacer_1_ok_cancel_help_errtile;
  1108. }
  1109.  
  1110. description : column {
  1111.     : row {
  1112.         color_system;
  1113.     }
  1114.     spacer_1;
  1115.     components;
  1116.     spacer_1;
  1117.     aci;
  1118.     spacer_1;
  1119.     : column {
  1120.         children_alignment = centered;
  1121.         : text_part { label = "Color designado"; }
  1122.         : boxed_row {
  1123.             fixed_width = true;
  1124.             : image {
  1125.                 key = /*MSG0*/"patch";
  1126.                 height = 2;
  1127.                 aspect_ratio = 2;
  1128.                 fixed_width = true;
  1129.                 color = -15;             /* background color */
  1130.             }
  1131.         }
  1132.     }
  1133. }
  1134.  
  1135. aci : button {
  1136.     key = /*MSG0*/"select_aci";
  1137.     label = "Designar desde ACI...";
  1138.     mnemonic = "D";
  1139.     fixed_width = true;
  1140.     alignment = centered;
  1141. }
  1142.  
  1143. components : row {
  1144.     : column {
  1145.         : color_name       { key = /*MSG0*/"top_name"; }
  1146.         : color_name       { key = /*MSG0*/"middle_name"; }
  1147.         : color_name       { key = /*MSG0*/"bottom_name"; }
  1148.     }
  1149.     : column {
  1150.         : edit_box_4       { key = /*MSG0*/"top_edit"; }
  1151.         : edit_box_4       { key = /*MSG0*/"middle_edit"; }
  1152.         : edit_box_4       { key = /*MSG0*/"bottom_edit"; }
  1153.     }
  1154.     : column {
  1155.         : slider_0_1_fixed { key = /*MSG0*/"top_slider"; }
  1156.         : slider_0_1_fixed { key = /*MSG0*/"middle_slider"; }
  1157.         : slider_0_1_fixed { key = /*MSG0*/"bottom_slider"; }
  1158.     }
  1159.     : column {
  1160.         : color_image      { key = /*MSG0*/"top_image"; }
  1161.         : color_image      { key = /*MSG0*/"middle_image"; }
  1162.         : color_image      { key = /*MSG0*/"bottom_image"; }
  1163.     }
  1164. }
  1165.  
  1166.  
  1167.  
  1168. color_name : text_part {
  1169.     width = 11;
  1170.     label = "";
  1171. }
  1172.  
  1173. color_image : image {
  1174.     height = 1;
  1175.     aspect_ratio = 1;
  1176.     fixed_height = true;
  1177.     fixed_width = true;
  1178.     color = -15;         /* -15 = dialog background color */
  1179. }
  1180.  
  1181. //****************************************************************************
  1182. // Replay
  1183.  
  1184. replay : dialog {
  1185.     label = "Especificaciones de imßgenes";
  1186.     width = 22;
  1187.     alignment = centered;
  1188.     spacer_1;
  1189.     : column {
  1190.         : row {
  1191.             : column {
  1192.                 fixed_width = true;
  1193.                 width = 20;
  1194.                 : text_part {
  1195.                     alignment = centered;
  1196.                     key = /*MSG0*/"imgsz";
  1197.                     width = 16;
  1198.                 }
  1199.                 : image_button {              // Virtual image window
  1200.                     alignment = centered;
  1201.                     key = /*MSG0*/"vimg";
  1202.                     color = 0;
  1203.                     aspect_ratio = 1;
  1204.                     height = 6;
  1205.                     width = 16;
  1206.                     fixed_width = true;
  1207.                     fixed_height = true;
  1208.                     is_tab_stop = false;
  1209.                 }
  1210.                 spacer;
  1211.                 : text_part {
  1212.                     alignment = centered;
  1213.                     label = " Desfasar imagen";
  1214.                     width = 16;
  1215.                 }
  1216.                 : row {
  1217.                     : edit_box_4 { 
  1218.                         label = "X:";
  1219.                         key = /*MSG0*/"imgoffx"; 
  1220.                     }
  1221.                     : edit_box_4 { 
  1222.                         label = "Y:";
  1223.                         key = /*MSG0*/"imgoffy"; 
  1224.                     }
  1225.                 }
  1226.             }
  1227.             spacer;
  1228.             : column {
  1229.                 fixed_width = true;
  1230.                 width = 20;
  1231.                 : text_part {
  1232.                     alignment = centered;
  1233.                     key = /*MSG0*/"winsz";
  1234.                     width = 16;
  1235.                 }
  1236.                 : image_button {              // Virtual window window
  1237.                     alignment = centered;
  1238.                     key = /*MSG0*/"vwin";
  1239.                     color = 0;
  1240.                     aspect_ratio = 1;
  1241.                     height = 6;
  1242.                     width = 16;
  1243.                     fixed_width = true;
  1244.                     fixed_height = true;
  1245.                     is_tab_stop = false;
  1246.                 }
  1247.                 spacer;
  1248.                 : text_part {
  1249.                     alignment = centered;
  1250.                     label = " Desfasar pantalla";
  1251.                     width = 16;
  1252.                 }
  1253.                 : row {
  1254.                     : edit_box_4 { 
  1255.                         label = " X:";
  1256.                         key = /*MSG0*/"winoffx"; 
  1257.                     }
  1258.                     : edit_box_4 { 
  1259.                         label = "Y:";
  1260.                         key = /*MSG0*/"winoffy"; 
  1261.                     }
  1262.                 }
  1263.              }
  1264.           }
  1265.           spacer_1;
  1266.           : row {
  1267.             : column {
  1268.                 fixed_width = true;
  1269.                 width = 20;
  1270.                 : text_part {
  1271.                     alignment = centered;
  1272.                     label = " Tama±o de imagen";
  1273.                     width = 16;
  1274.                 }
  1275.                 : row {
  1276.                     : edit_box_4 { 
  1277.                         label = "X:";
  1278.                         key = /*MSG0*/"imgsizex"; 
  1279.                     }
  1280.                     : edit_box_4 { 
  1281.                         label = "Y:";
  1282.                         key = /*MSG0*/"imgsizey"; 
  1283.                     }
  1284.                 }
  1285.             }
  1286.             : column {
  1287.                 fixed_width = true;
  1288.                 width = 20;
  1289.                 : text_part {
  1290.                     alignment = centered;
  1291.                     label = " Tama±o de pantalla";
  1292.                     width = 16;
  1293.                 }
  1294.                 : row {
  1295.                     : concatenation {
  1296.                         : text_part { 
  1297.                             label = " X:  ";
  1298.                         }
  1299.                         : text_part { 
  1300.                             key = /*MSG0*/"winsizex"; 
  1301.                             width = 4; 
  1302.                         }
  1303.                     }
  1304.                     : concatenation {
  1305.                         : text_part { 
  1306.                             label = "Y:  ";
  1307.                         }
  1308.                         : text_part { 
  1309.                             key = /*MSG0*/"winsizey"; 
  1310.                             width = 4; 
  1311.                         }
  1312.                     }
  1313.                 }
  1314.             }
  1315.         }
  1316.     }
  1317.     spacer_1;
  1318.     : button {
  1319.         key = /*MSG0*/"rst";
  1320.         mnemonic = "R";
  1321.         label = "Reajustar";
  1322.         fixed_width = true;
  1323.         alignment = centered;
  1324.     }
  1325.     spacer_1_ok_cancel_help_errtile;
  1326. }
  1327.  
  1328. //****************************************************************************
  1329. //  saveimg rendering combined
  1330.  
  1331. saveimgrc : dialog {
  1332.     label = "Guardar Imagen";
  1333.     : cluster {
  1334.         : boxed_radio_column {
  1335.             label = "Formato";
  1336.             key = /*MSG0*/"frmt";
  1337.             : radio_button {
  1338.                 label = "TGA";
  1339.                 key = /*MSG0*/"tga";
  1340.                 mnemonic = "T";
  1341.             }
  1342.             : radio_button {
  1343.                 label = "TIFF";
  1344.                 key = /*MSG0*/"tif";
  1345.                 mnemonic = "F";
  1346.             }
  1347.             : radio_button {
  1348.                 label = "GIF";
  1349.                 key = /*MSG0*/"gif";
  1350.                 mnemonic = "G";
  1351.             }
  1352.         }
  1353.         : boxed_radio_column {
  1354.             label = "Porci≤n";
  1355.             key = /*MSG0*/"prtn";
  1356.             : radio_button {
  1357.                 label = "Ventana activa";
  1358.                 key = "A";
  1359.                 mnemonic = "a";
  1360.             }
  1361.             : radio_button {
  1362.                 label = "Area de dibujo";
  1363.                 key = "D";
  1364.                 mnemonic = "b";
  1365.             }
  1366.             : radio_button {
  1367.                 label = "Pantalla completa";
  1368.                 key = "F";
  1369.                 mnemonic = "c";
  1370.             }
  1371.         }
  1372.     }
  1373.     spacer;
  1374.     : cluster {
  1375.         : button {
  1376.             key = /*MSG0*/"opt";
  1377.             label = "Opciones...";
  1378.             mnemonic = "O";
  1379.         }
  1380.         : button {
  1381.             key = /*MSG0*/"rst";
  1382.             label = "Reajustar";
  1383.             mnemonic = "R";
  1384.         }
  1385.     }
  1386.     spacer;
  1387.     : row {
  1388.         fixed_width = true;
  1389.         alignment = centered;
  1390.         : text_part { 
  1391.             label = "   Desplazar ";
  1392.             mnemonic = "D";
  1393.           }
  1394.         : edit_box_4 { 
  1395.             label = "X:";
  1396.             key = /*MSG0*/"winoffx"; 
  1397.         }
  1398.         : edit_box_4 { 
  1399.             label = " Y:";
  1400.             key = /*MSG0*/"winoffy"; 
  1401.         }
  1402.     }
  1403.     : row {
  1404.         fixed_width = true;
  1405.         alignment = centered;
  1406.         : text_part { 
  1407.             label = "     Tama±o "; 
  1408.             mnemonic = "m";
  1409.           }
  1410.         : edit_box_4 { 
  1411.             label = "X:";
  1412.             key = /*MSG0*/"winsizex"; 
  1413.         }
  1414.         : edit_box_4 { 
  1415.             label = " Y:";
  1416.             key = /*MSG0*/"winsizey"; 
  1417.         }
  1418.     }
  1419.     : row {
  1420.         : concatenation {
  1421.             : text_part { label = "Por defecto "; }
  1422.             : text_part { key = /*MSG0*/"winsz"; width = 9; }
  1423.         }
  1424.         fixed_width = true;
  1425.         alignment = centered;
  1426.     }
  1427.     spacer_1_ok_cancel_help_errtile;
  1428. }
  1429.  
  1430. //****************************************************************************
  1431. //  saveimg rendering seperate
  1432.  
  1433. saveimgrs : dialog {
  1434.     label = "Guardar Imagen";
  1435.     : cluster {
  1436.         : boxed_radio_column {
  1437.             label = "Formato";
  1438.             key = /*MSG0*/"frmt";
  1439.             : radio_button {
  1440.                 label = "TGA";
  1441.                 key = /*MSG0*/"tga";
  1442.                 mnemonic = "T";
  1443.             }
  1444.             : radio_button {
  1445.                 label = "TIFF";
  1446.                 key = /*MSG0*/"tif";
  1447.                 mnemonic = "F";
  1448.             }
  1449.             : radio_button {
  1450.                 label = "GIF";
  1451.                 key = /*MSG0*/"gif";
  1452.                 mnemonic = "G";
  1453.             }
  1454.         }
  1455.         : boxed_column {
  1456.             label = "Porci≤n";
  1457.             : image_button {              // Virtual window window
  1458.                 key = /*MSG0*/"vwin";
  1459.                 color = 0;
  1460.                 alignment = centered;
  1461.                 aspect_ratio = 1;
  1462.                 height = 6;
  1463.                 width = 16;
  1464.                 fixed_width = true;
  1465.                 fixed_height = true;
  1466.             }
  1467.         }
  1468.     }
  1469.     spacer;
  1470.     : cluster {
  1471.         : button {
  1472.             key = /*MSG0*/"opt";
  1473.             label = "Opciones...";
  1474.             mnemonic = "O";
  1475.         }
  1476.         : button {
  1477.             key = /*MSG0*/"rst";
  1478.             label = "Reajustar";
  1479.             mnemonic = "R";
  1480.         }
  1481.     }
  1482.     spacer;
  1483.     : row {
  1484.         fixed_width = true;
  1485.         alignment = centered;
  1486.         : text_part { 
  1487.             label = "   Desplazar ";
  1488.             mnemonic = "D";
  1489.           }
  1490.         : edit_box_4 { 
  1491.             label = "X:";
  1492.             key = /*MSG0*/"winoffx"; 
  1493.         }
  1494.         : edit_box_4 { 
  1495.             label = " Y:";
  1496.             key = /*MSG0*/"winoffy"; 
  1497.         }
  1498.     }
  1499.     : row {
  1500.         fixed_width = true;
  1501.         alignment = centered;
  1502.         : text_part { 
  1503.             label = "     Tama±o ";
  1504.             mnemonic = "m";
  1505.           }
  1506.         : edit_box_4 { 
  1507.             label = "X:";
  1508.             key = /*MSG0*/"winsizex"; 
  1509.         }
  1510.         : edit_box_4 { 
  1511.             label = " Y:";
  1512.             key = /*MSG0*/"winsizey"; 
  1513.         }
  1514.     }
  1515.     : row {
  1516.         : concatenation {
  1517.             : text_part { label = "Por defecto "; }
  1518.             : text_part { key = /*MSG0*/"winsz"; width = 9; }
  1519.         }
  1520.         fixed_width = true;
  1521.         alignment = centered;
  1522.     }
  1523.     spacer_1_ok_cancel_help_errtile;
  1524. }
  1525.  
  1526. //****************************************************************************
  1527. //
  1528.  
  1529. tga_options : dialog {
  1530.     label = "Opciones TGA";
  1531.     spacer;
  1532.     : boxed_radio_row {
  1533.         label = "Compresi≤n:";
  1534.         key = /*MSG0*/"comp";
  1535.         : radio_button {
  1536.             label = "Ninguna";
  1537.             mnemonic = "N";
  1538.             key = /*MSG0*/"none";       // returned as "value" of radio_cluster
  1539.         }
  1540.         : radio_button {
  1541.             label = "RLE";
  1542.             mnemonic = "R";
  1543.             key = /*MSG0*/"rle";
  1544.         }
  1545.     }
  1546.     spacer_1_ok_cancel_help;
  1547. }
  1548.  
  1549. //****************************************************************************
  1550. //
  1551.  
  1552. tif_options : dialog {
  1553.     label = "Opciones TIFF";
  1554.     spacer;
  1555.     : boxed_radio_row {
  1556.         label = "Compresi≤n:";
  1557.         key = /*MSG0*/"comp";
  1558.         : radio_button {
  1559.             label = "Ninguna";
  1560.             mnemonic = "N";
  1561.             key = /*MSG0*/"none";       // returned as "value" of radio_cluster
  1562.         }
  1563.         : radio_button {
  1564.             label = "PAQUETE";
  1565.             mnemonic = "P";
  1566.             key = /*MSG0*/"pack";
  1567.         }
  1568.         : radio_button {
  1569.             label = "LZW";
  1570.             mnemonic = "L";
  1571.             key = /*MSG0*/"lzw";
  1572.         }
  1573.     }
  1574.     spacer_1_ok_cancel_help;
  1575. }
  1576.  
  1577. //******************************************************************************
  1578. //******************************************************************************
  1579. // Lights Common widgets
  1580.  
  1581. distant_light_parameters_panel : column {
  1582.     fixed_height = true;
  1583.     : edit_box_8 {
  1584.         label = "Nombre:";
  1585.         key = /*MSG0*/"name";
  1586.         mnemonic = "N";
  1587.     }
  1588.     : row {
  1589.         : edit_box_8 {
  1590.             label = "Intensidad: ";
  1591.             key = /*MSG0*/"inten_t";
  1592.             edit_width = 8;
  1593.             mnemonic = "I";
  1594.         }
  1595.         : slider {
  1596.             key = /*MSG0*/"inten_s";
  1597.             min_value = 0;
  1598.             max_value = 10000;
  1599.             small_increment = 100;
  1600.             big_increment = 1000;
  1601.         }
  1602.     }
  1603.     light_color_panel;
  1604. }
  1605.  
  1606. light_color_panel : boxed_column {
  1607.     label = "Color";
  1608.     rgb_edit_slider;
  1609.     : row {
  1610.         : image_button {
  1611.             key = /*MSG0*/"color";
  1612.             color = -15;             /* background color */
  1613.             height = 1;
  1614.             aspect_ratio = 1;
  1615.         }
  1616.         : button {
  1617.             label = "Utilizar Rueda de colores...";
  1618.             key = /*MSG0*/"mod_color";
  1619.             fixed_width = true;
  1620.             mnemonic = "c";
  1621.         }
  1622.     }
  1623. }
  1624.  
  1625. light_source_panel : column {
  1626.     : boxed_column {
  1627.         label = "Origen de la luz";
  1628.         : row {
  1629.             : edit_box_4 {
  1630.                 label = "X:";
  1631.                 key = /*MSG0*/"x";
  1632.                 mnemonic = "X";
  1633.             }
  1634.             spacer;
  1635.             : edit_box_4 {
  1636.                 label = "Y:";
  1637.                 key = /*MSG0*/"y";
  1638.                 mnemonic = "Y";
  1639.             }
  1640.             spacer;
  1641.             : edit_box_4 {
  1642.                 label = "Z:";
  1643.                 key = /*MSG0*/"z";
  1644.                 mnemonic = "Z";
  1645.             }
  1646.         }
  1647.         : button {
  1648.             alignment = centered;
  1649.             fixed_width = true;
  1650.             key = /*MSG0*/"mod_points";
  1651.             label = "Modificar <";
  1652.             mnemonic = "M";
  1653.         }
  1654.     }
  1655. }
  1656.  
  1657. azimuth_altitude_panel : boxed_row {
  1658.     : column {
  1659.         : edit_box {
  1660.             label = "Acimut:";
  1661.             key = /*MSG0*/"azimuth_t";
  1662.             mnemonic = "t";
  1663.             edit_width = 6;
  1664.             edit_limit = 6;
  1665.         }
  1666.         : image_button {
  1667.             key = /*MSG0*/"azimuth_image";
  1668.             color = dialog_background;
  1669.             height = 7;
  1670.             aspect_ratio = 1;
  1671.             fixed_height = true;
  1672.             fixed_width = true;
  1673.             alignment = centered;
  1674.         }
  1675.         : slider  {
  1676.             key = /*MSG0*/"azimuth_slider";
  1677.             min_value = -180;
  1678.             max_value = 180;
  1679.             small_increment = 1;
  1680.             big_increment = 10;
  1681.         }
  1682.     }
  1683.     : column {
  1684.         : edit_box {
  1685.             label = "Altitud:";
  1686.             key = /*MSG0*/"altitude_t";
  1687.             mnemonic = "l";
  1688.             edit_width = 6;
  1689.             edit_limit = 6;
  1690.         }
  1691.         : image_button {
  1692.             key = /*MSG0*/"altitude_image";
  1693.             color = dialog_background;
  1694.             height = 7;
  1695.             aspect_ratio = 1;
  1696.             fixed_height = true;
  1697.             fixed_width = true;
  1698.             alignment = centered;
  1699.         }
  1700.         : slider  {
  1701.             key = /*MSG0*/"altitude_slider";
  1702.             min_value = 0;
  1703.             max_value = 90;
  1704.             small_increment = 1;
  1705.             big_increment = 10;
  1706.         }
  1707.     }
  1708. }
  1709.  
  1710.  
  1711. //****************************************************************************
  1712. // Tile used by all three light types.
  1713.  
  1714. ave_basic_lights : column {
  1715.     : edit_box_8 {
  1716.         label = "Nombre de la luz:";
  1717.         key = /*MSG0*/"name";
  1718.         mnemonic = "N";
  1719.     }
  1720.     : edit_box_8 {
  1721.         label = "Intensidad:";
  1722.         key = /*MSG0*/"inten_t";
  1723.         mnemonic = "I";
  1724.     }
  1725.     : slider  {
  1726.         key = /*MSG0*/"inten_s";
  1727.         min_value = 0;
  1728.         max_value = 10000;
  1729.         small_increment = 100;
  1730.         big_increment = 1000;
  1731.     }
  1732.     : boxed_row {
  1733.         label = "Posici≤n";
  1734.         : button {
  1735.             label = "Modificar <";
  1736.             key = /*MSG0*/"mod_points";
  1737.             mnemonic = "M";
  1738.         }
  1739.         : button {
  1740.             label = "Muestra...";
  1741.             key = /*MSG0*/"show_points";
  1742.             mnemonic = "t";
  1743.             other = "1";
  1744.         }
  1745.     }
  1746.     light_color_panel;
  1747. }
  1748.  
  1749. attenuation_panel : boxed_radio_column {
  1750.     label = "Atenuaci≤n";
  1751.     key = /*MSG0*/"falloff";
  1752.     fixed_height = true;
  1753.     : radio_button {
  1754.         label = "Ninguno";
  1755.         mnemonic = "o";
  1756.         key = "0";      // returned as "value" of radio_cluster
  1757.     }
  1758.     : radio_button {
  1759.         label = "Inversamente lineal";
  1760.         mnemonic = "l";
  1761.         key = "1";
  1762.     }
  1763.     : radio_button {
  1764.         label = "Inversa del cuadrado";
  1765.         mnemonic = "e";
  1766.         key = "2";
  1767.     }
  1768. }
  1769.  
  1770. //****************************************************************************
  1771. //  Display the Location and Target points of lights.  Target should be
  1772. //  disabled when displaying a Point Light.
  1773.  
  1774. show_points : dialog {
  1775.     label = "Mostrar posici≤n de la luz";
  1776.     : row {
  1777.         : boxed_row {
  1778.             key = /*MSG0*/"location";
  1779.             label = "Emplazamiento";
  1780.             : paragraph {
  1781.                 : text_part { label = "X ="; }
  1782.                 : text_part { label = "Y ="; }
  1783.                 : text_part { label = "Z ="; }
  1784.             }
  1785.             : paragraph {
  1786.                 : text_part_12 { key = /*MSG0*/"lfx"; }
  1787.                 : text_part_12 { key = /*MSG0*/"lfy"; }
  1788.                 : text_part_12 { key = /*MSG0*/"lfz"; }
  1789.             }
  1790.         }
  1791.         : boxed_row    {
  1792.             key = /*MSG0*/"target";     //  Disabled for Point Lights
  1793.             label = "Destino";
  1794.             : paragraph {
  1795.                 : text_part { label = "X ="; }
  1796.                 : text_part { label = "Y ="; }
  1797.                 : text_part { label = "Z ="; }
  1798.             }
  1799.             : paragraph {
  1800.                 : text_part_12 { key = /*MSG0*/"lax"; }
  1801.                 : text_part_12 { key = /*MSG0*/"lay"; }
  1802.                 : text_part_12 { key = /*MSG0*/"laz"; }
  1803.             }
  1804.         }
  1805.     }
  1806.     spacer_1_ok_help;
  1807. }
  1808.  
  1809. //****************************************************************************
  1810. // Main scene dialog
  1811.  
  1812. ave_scene : dialog {
  1813.     label = "Escenas";
  1814.     : row {
  1815.         : list_box_8x8 {
  1816.             key = /*MSG0*/"scen";
  1817.             label = "Escenas:";
  1818.             mnemonic = "E";
  1819.         }
  1820.         : column {
  1821.             spacer_0;
  1822.             button_new;
  1823.             button_mod;
  1824.             button_del;
  1825.             spacer_0;
  1826.         }
  1827.     }
  1828.     spacer_1_ok_cancel_help;
  1829. }
  1830.  
  1831. //****************************************************************************
  1832. // Dialog to modify a scene.
  1833.  
  1834. ave_scene_mod : dialog {
  1835.     key = /*MSG0*/"dialog";
  1836.     : edit_box_8 {
  1837.         label = "Nombre de escena:";
  1838.         key = /*MSG0*/"name";
  1839.         mnemonic = "N";
  1840.     }
  1841.     spacer;
  1842.     : row {
  1843.         : column {
  1844.             : text {
  1845.                 label = "Vistas";
  1846.                 mnemonic = "V";
  1847.             }
  1848.             : list_box_8x8 {
  1849.                 key = /*MSG0*/"view";
  1850.             }
  1851.         }
  1852.         : column {
  1853.             : text {
  1854.                 label = "Luces";
  1855.                 mnemonic = "L";
  1856.             }
  1857.             : list_box_8x8 {
  1858.                 key = /*MSG0*/"lght";
  1859.                 multiple_select = true;
  1860.             }
  1861.         }
  1862.     }
  1863.     spacer_1_ok_cancel_help_errtile;
  1864. }
  1865.  
  1866.  
  1867.  
  1868. //****************************************************************************
  1869. //Materials list dialog -- common components
  1870. material_column : column {
  1871.     : row {
  1872.         : text {
  1873.             label = "Lista de materiales:";
  1874.             mnemonic = "m";
  1875.         }
  1876.     }
  1877.     : list_box {
  1878.         height = 12;
  1879.         width = 24;
  1880.         key = /*MSG0*/"materials_list";
  1881.         multiple_select = true;
  1882.     }
  1883.     : row {
  1884.         : button {
  1885.             key = /*MSG0*/"cleanup";
  1886.             label = "Limpiar";
  1887.             mnemonic = "i";
  1888.         }
  1889.         : button {
  1890.             key = /*MSG0*/"saveList";
  1891.             label = "Guardar...";
  1892.             mnemonic = "G";
  1893.         }
  1894.     }
  1895. }
  1896.  
  1897. import_export_delete : column {
  1898.     : button {
  1899.         key = /*MSG0*/"import";
  1900.         label = "<-Importar";
  1901.         mnemonic = "I";
  1902.         is_enabled = false;
  1903.     }
  1904.     : button {
  1905.         key = /*MSG0*/"export";
  1906.         label = "Exportar->";
  1907.         mnemonic = "E";
  1908.         is_enabled = false;
  1909.     }
  1910.     : button {
  1911.         key = /*MSG0*/"delete";
  1912.         label = "Borrar";
  1913.         mnemonic = "B";
  1914.         is_enabled = false;
  1915.     }
  1916. }
  1917.  
  1918. library_column : column {
  1919.     : row {
  1920.         : text {
  1921.             label = "Lista de biblioteca:";
  1922.             mnemonic = "L";
  1923.         }
  1924.         : text {
  1925.             key = /*MSG0*/"libraryTitle";
  1926.             width = 12;
  1927.             fixed_width = true;
  1928.         }
  1929.     }
  1930.     : list_box {
  1931.         height = 12;
  1932.         width = 24;
  1933.         key = /*MSG0*/"library_list";
  1934.         multiple_select = true;
  1935.     }
  1936.     : row {
  1937.         : button {
  1938.             key = /*MSG0*/"openLibrary";
  1939.             label = "Abrir...";
  1940.             mnemonic = "A";
  1941.         }
  1942.         : button {
  1943.             key = /*MSG0*/"saveLibrary";
  1944.             label = "Guardar...";
  1945.             mnemonic = "d";
  1946.         }
  1947.     }
  1948. }
  1949.  
  1950. spacer_1_ok_cancel_help_custom : column {
  1951.     spacer_1;
  1952.     ok_cancel_help_custom;
  1953. }
  1954.  
  1955. ok_cancel_help_custom : column {
  1956.     :column {
  1957.         : row {
  1958.             fixed_width = true;
  1959.             alignment = centered;
  1960.             ok_button;
  1961.             : spacer { width = 2; }
  1962.             cancel_button_custom;
  1963.             : spacer { width = 2; }
  1964.             help_button;
  1965.         }
  1966.         errtile;
  1967.     }
  1968. }
  1969.  
  1970. cancel_button_custom : retirement_button {
  1971.         label           = "Cancelar";
  1972.         key             = /*MSG0*/"cancel";
  1973.         is_cancel       = false;            // reason for custom
  1974. }
  1975.  
  1976. ave_confirm_library_save : dialog {
  1977.     label = "Modificaci≤n en la biblioteca";
  1978.     initial_focus = "save";
  1979.     : column {
  1980.         : text {
  1981.             label = "La biblioteca actual de materiales ha sido modificada.";
  1982.             alignment = centered;
  1983.         }
  1984.         : row {
  1985.             : button {
  1986.                 label = "Guardar cambios...";
  1987.                 is_default = true;
  1988.                 mnemonic = "G";
  1989.                 key = /*MSG0*/"save";
  1990.             }
  1991.             : button {
  1992.                 label = "Descartar cambios";
  1993.                 mnemonic = "D";
  1994.                 key = /*MSG0*/"discard";
  1995.             }
  1996.             : button {
  1997.                 label = "Cancelar comando";
  1998.                 is_cancel = true;
  1999.                 mnemonic = "C";
  2000.                 key = /*MSG0*/"cancel";
  2001.             }
  2002.         }
  2003.     }
  2004. }
  2005.  
  2006. //****************************************************************************
  2007. //Reconcile Imported Material Names dialog
  2008.  
  2009. ave_reconcile_import : dialog {
  2010.     label = "Revisi≤n de nombres de materiales importados";
  2011.     initial_focus = /*MSG0*/"new_name";
  2012.     spacer_1;
  2013.     : row {
  2014.         children_alignment = top;
  2015.         : column {
  2016.             : boxed_column {
  2017.                 fixed_height = true;
  2018.                 label = "Opciones";
  2019.                 key = /*MSG0*/"options";
  2020.                 dialog_kind = /*MSG0*/"import";
  2021.                 : toggle {
  2022.                     label = "Reescribir materiales existentes";
  2023.                     value = /*MSG0*/"1";
  2024.                     key = /*MSG0*/"overwrite";
  2025.                     mnemonic = "R";
  2026.                 }
  2027.                 : toggle {
  2028.                     label = "Transferir enlaces";
  2029.                     key = /*MSG0*/"transfer";
  2030.                     value = /*MSG0*/"1";
  2031.                     mnemonic = "f";
  2032.                 }
  2033.             }
  2034.             : boxed_column {
  2035.                 fixed_height = true;
  2036.                 label = "Nombres de materiales";
  2037.                 key = /*MSG0*/"names";
  2038.                 : edit_box_16 {
  2039.                     label = "Antiguo material de la lista:";
  2040.                     key = /*MSG0*/"old_name";
  2041.                     mnemonic = "A";
  2042.                 }
  2043.                 : edit_box_16 {
  2044.                     label = "Nuevo material de la biblioteca:";
  2045.                     key = /*MSG0*/"new_name";
  2046.                     mnemonic = "N";
  2047.                 }
  2048.             }
  2049.             spacer_0;
  2050.         }
  2051.     }
  2052.     spacer_1_ok_ok_all_cancel_help;
  2053. }
  2054. //****************************************************************************
  2055. //Reconcile Exported Material Names dialog
  2056.  
  2057. ave_reconcile_export : dialog {
  2058.     label = "Revisi≤n de nombres de materiales exportados";
  2059.     initial_focus = /*MSG0*/"new_name";
  2060.     spacer_1;
  2061.     : row {
  2062.         children_alignment = top;
  2063.         : column {
  2064.             : boxed_column {
  2065.                 label = "Opciones";
  2066.                 key = /*MSG0*/"options";
  2067.                 dialog_kind = /*MSG0*/"export";
  2068.                 fixed_height = true;
  2069.                 : toggle {
  2070.                     label = "Reescribir material existente";
  2071.                     value = /*MSG0*/"1";
  2072.                     key = /*MSG0*/"overwrite";
  2073.                     mnemonic = "R";
  2074.                 }
  2075.             }
  2076.             : boxed_column {
  2077.                 label = "Nombres de materiales";
  2078.                 key = /*MSG0*/"names";
  2079.                 fixed_height = true;
  2080.                 : edit_box_16 {
  2081.                     label = "Antiguo material de la biblioteca:";
  2082.                     key = /*MSG0*/"old_name";
  2083.                     mnemonic = "A";
  2084.                 }
  2085.                 : edit_box_16 {
  2086.                     label = "Nuevo material de la biblioteca:";
  2087.                     key = /*MSG0*/"new_name";
  2088.                     mnemonic = "N";
  2089.                 }
  2090.             }
  2091.             spacer_0;
  2092.         }
  2093.     }
  2094.     spacer_1_ok_ok_all_cancel_help;
  2095. }
  2096.  
  2097. spacer_1_ok_ok_all_cancel_help : column {
  2098.     spacer_1;
  2099.     ok_ok_all_cancel_help;
  2100. }
  2101.  
  2102. ok_ok_all_cancel_help : column {
  2103.     : row {
  2104.         fixed_width = true;
  2105.         alignment = centered;
  2106.         ok_button;
  2107.         ok_all_button;
  2108.         : spacer { width = 2; }
  2109.         cancel_button;
  2110.         : spacer { width = 2; }
  2111.         help_button;
  2112.     }
  2113. }
  2114.  
  2115. ok_all_button : retirement_button {
  2116.         label           = "Aceptar todo";
  2117.         key             = /*MSG0*/"okAll";
  2118.         mnemonic        = "e";
  2119. }
  2120.  
  2121.  
  2122. //****************************************************************************
  2123. // Main material dialog -- common components
  2124.  
  2125. material_list : list_box {
  2126.     key = /*MSG0*/"list";
  2127.     label = "Materiales:";
  2128.     mnemonic = "t";
  2129.     width = 18;
  2130. }
  2131.  
  2132. material_attach : column {
  2133.     : button {
  2134.         label = "Enlazar <";
  2135.         key = /*MSG0*/"entities";
  2136.         mnemonic = "E";
  2137.     }
  2138.     : button {
  2139.         label = "Desenlazar < ";
  2140.         key = /*MSG0*/"detach";
  2141.         mnemonic = "z";
  2142.     }
  2143.     : button {
  2144.         label = "Desde ACI... ";
  2145.         key = /*MSG0*/"ACI";
  2146.         mnemonic = "A";
  2147.     }
  2148.     : button {
  2149.         label = "Por capa... ";
  2150.         key = /*MSG0*/"layer";
  2151.         mnemonic = "c";
  2152.     }
  2153. }
  2154.  
  2155. material_name : row {
  2156.     : edit_box_16 {
  2157.         label = "Nombre del material:";
  2158.         key = /*MSG0*/"name";
  2159.         mnemonic = "m";
  2160.         fixed_width = true;
  2161.     }
  2162. }
  2163.  
  2164. value_edit_slider : boxed_row {
  2165.     : edit_box_4 {
  2166.         label = "Valor:";
  2167.         key = /*MSG0*/"value_edit";
  2168.         mnemonic = "o";
  2169.     }
  2170.     : slider_0_1_fixed { key = /*MSG0*/"value_slider"; }
  2171. }
  2172.  
  2173.  
  2174. //******************************************************************************
  2175. //******************************************************************************
  2176.  
  2177. //** RGB edit sliders
  2178. rgb_edit_slider : row {
  2179.     : column {
  2180.         : edit_box_4 {
  2181.             label = "Rojo:";
  2182.             key = /*MSG0*/"red_edit";
  2183.             mnemonic = "R";
  2184.         }
  2185.         : edit_box_4 {
  2186.             label = "Verde:";
  2187.             key = /*MSG0*/"green_edit";
  2188.             mnemonic = "V";
  2189.         }
  2190.         : edit_box_4 {
  2191.             label = "Azul:";
  2192.             key = /*MSG0*/"blue_edit";
  2193.             mnemonic = "A";
  2194.         }
  2195.     }
  2196.     : column {
  2197.         : slider_0_1_fixed { key = /*MSG0*/"red_slider"; }
  2198.         : slider_0_1_fixed { key = /*MSG0*/"green_slider"; }
  2199.         : slider_0_1_fixed { key = /*MSG0*/"blue_slider"; }
  2200.     }
  2201. }
  2202.  
  2203. display_and_get_color : row {
  2204.     : image_button {
  2205.         key = /*MSG0*/"set_color_image";
  2206.         color = -15;             /* background color */
  2207.         height = 1;
  2208.         aspect_ratio = 1;
  2209.     }
  2210.     : button {
  2211.         label = "Utilizar Rueda de colores...";
  2212.         mnemonic = "c";
  2213.         key = /*MSG0*/"set_color";
  2214.         fixed_width = true;
  2215.     }
  2216. }
  2217.  
  2218. lock : toggle {
  2219.     label = "Bloquear";
  2220.     key = /*MSG0*/"lock";
  2221.     mnemonic = "B";
  2222. }
  2223.  
  2224.  
  2225. color_system : popup_list {
  2226.     label = "Sistema de color:";
  2227.     mnemonic = "o";
  2228.     key = /*MSG0*/"color_system";
  2229.     list = "RGB\nHLS";
  2230.     width = 5;
  2231. }
  2232.  
  2233.  
  2234.  
  2235. //****************************************************************************
  2236. // Finish Preview tile.
  2237.  
  2238. finish_preview : boxed_column {
  2239.     children_alignment = centered;
  2240.     : image_button {
  2241.         key = /*MSG0*/"image";
  2242.         color = graphics_background;
  2243.         height = 8;
  2244.         aspect_ratio = 1;
  2245.         fixed_height = true;
  2246.         fixed_width = true;
  2247.         mnemonic = "P";     //  FIXME - Can we ALT to an image???
  2248.         is_tab_stop = false;
  2249.     }
  2250.     : button {
  2251.         key = /*MSG0*/"object";
  2252.         label = "Previsualizar";
  2253.         mnemonic = "v";
  2254.     }
  2255.     spacer_0;
  2256. }
  2257.